package org.example.wx.client.loadBalance;

public class LoadBalanceFactory {

    public static LoadBalancer getLoadBalancer(String loadBalancerName) {
        if (loadBalancerName == null) {
            return new PollingLoadBalancer();
        }
        if ("polling".equals(loadBalancerName)) {
            return new PollingLoadBalancer();
        }
        return new PollingLoadBalancer();
    }

}
